Click or drag to resize

SipClientInvite Method (ContactInfo, ContactInfo, Contact, SessionDescription)

Invites another client to media session.

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public RequestResponse Invite(
	ContactInfo from,
	ContactInfo to,
	Contact contact,
	SessionDescription session
)

Parameters

from
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and name of the initiator of the session.
to
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and name of the recipient.
contact
Type: Independentsoft.SipContact
A string contains user's contact address. Usually the address contains user's IP address and port.
session
Type: Independentsoft.Sip.SdpSessionDescription
A SessionDescription contains description of the session.

Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
Exceptions
ExceptionCondition
ArgumentNullExceptionsession;SessionDescription is null.
See Also